package co.yixiang.auth;

import co.yixiang.common.security.annotation.EnableYxFeignClients;
import co.yixiang.common.security.annotation.EnableYxResourceServer;
import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;

/**
 * 认证授权中心
 *
 * @author yshop
 */
@EnableYxFeignClients
@SpringCloudApplication
@EnableYxResourceServer
public class YshopAuthApplication
{
    public static void main(String[] args)
    {
        SpringApplication.run(YshopAuthApplication.class, args);
        System.out.println(
                        "              __                  \n" +
                        "  __ __ ___  / /  ___   ___       \n" +
                        " / // /(_-< / _ \\/ _ \\ / _ \\   \n" +
                        " \\_, //___//_//_/\\___// .__/    \n" +
                        "/___/                /_/          \n "+

                        "\n意象yshop电商系统认证服务启动成功 \n官网：https://www.yixiang.co 提供技术支持ﾞ  \n");
    }
}
